package oop6;

/**
 * @author oldliu
 * @since 1.0
 */
public abstract class Chongwu {
    private String name;

    public Chongwu(String name) {
        this.name = name;
    }

    //移动
    public abstract void run();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
